package com.training.oops;

public class TaxExample {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		 
		TaxCaluclator taxCaluclator = new TaxCaluclator();
		
		int taxRefund = taxCaluclator.caluclateTax();
		
		System.out.println("Tax refund for Default --- "+taxRefund);

		
		 taxRefund =   taxCaluclator.caluclateTax("Yaten", 100000);
		System.out.println("Tax refund for Regular - "+taxRefund);
		
		
		 taxRefund =   taxCaluclator.caluclateTax("Srikanth", 100000,true);
		 System.out.println("Tax refund for Head of House - "+taxRefund);
		
		 taxRefund =   taxCaluclator.caluclateTax("Krishna", 100000,3);
		 System.out.println("Tax refund with Child   - "+taxRefund);
		 
		 
	}

}
